﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Nana.View.Utils;

namespace PageNumExtTest
{
  class Program
  {
    static void Main(string[] args)
    {
      object o = null;

      long goal = 30;

      for (var curr = 1; curr < goal; curr++)
      {

        o.PageNumView(
          curr, i => Console.Write("<[" + i + "]>"),
          3, 25,
          i => Console.Write("||" + i + " "), i => Console.Write(" (" + i + " |"),
          2, i => Console.Write(" [" + i + "] "),
          1, () => Console.Write(" ... "),
          3, 4,
          i => Console.Write("  " + i + ") "), i => Console.Write(" (" + i + "  ")
          );


        Console.WriteLine();
      }

    }
  }
}
